import request from '@/utils/request'

// 获取商户
export function findJointOrderStore(
  commercialCode = '01',
  storeFloor = '全部楼层',
  page,
  size
) {
  return request({
    url: 'store/findJointOrderStore ',
    method: 'POST',
    data: {
      commercialCode,
      storeFloor,
      page,
      size
    }
  })
}

// 搜索商户
export function jointOrderSearch(brandsName) {
  return request({
    url: 'store/jointOrderFindByName',
    method: 'POST',
    data: {
      brandsName
    }
  })
}

// 联单专区业态
export function getJointId() {
  return request({
    url: 'commercial/getJointId  ',
    method: 'GET'
  })
}
